/*
 * Money.h
 *
 *  Created on: May 2, 2011
 *      Author: default
 */

#ifndef Money_H_
#define Money_H_

#include <iostream>
#include "SDL/SDL.h"
#include "SDL/SDL_ttf.h"
#include "SDL/SDL_image.h"
#include "load_image.h"


using namespace std;

enum EState{
	sIntro,
	sChangeMoney,
};

class Money{

	SDL_Color textColor;
	TTF_Font *font;
	SDL_Surface *m_Bet;
	SDL_Surface *m_Win;
	float i_AddMoney;
	string s_AddMoney;
	SDL_Surface *m_Muony;
	SDL_Surface *m_Coin;
	SDL_Surface *m_Coin_Value;
	float m_fCoin;
public:
	string ChangeBet(float fbet);
	EState eState;
	bool init();
	void onDraw();
	SDL_Surface *load_text(const string &text);
	void ChangeMoney();
	string AddMoney(float update);
};

//Money gMoney;

#endif /* Money_H_ */
